package com.itheima.dubbo.interfaces;

import com.itheima.commons.pojo.domain.Settings;

/**
 * @author yaohu
 * @date 2021/12/15
 * @Version 1.0
 * @describe
 */
public interface SettingsApi {

    /**
     * 查询用户通用设置
     *
     * @param userId
     * @return
     */
    Settings querySettings(Long userId);

    /**
     * 保存/更新通用设置
     *
     * @param settings
     */
    void addSettings(Settings settings);
}
